package com.unhz.generator.pojo;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: 魏运奇
 * @Description:试做订单类
 * @Date: Created in 下午 4:07 2018/1/31
 * @Modified By: V1.0.0
 */
public class TryOrder implements Serializable{

    /**试做id**/
    private Integer id;
    /**订单id**/
    private Integer orderId;
    /**样品id**/
    private Integer sampleId;
    /**试做订单号**/
    private String tryNo;
    /**申请时间**/
    private Date applyTime;
    /**完成时间**/
    private Date finishTime;
    /**鞋码类型（1标准码 2欧码 3美码）**/
    private Integer sizeType;
    /**用户手机号**/
    private String userPhone;
    /**真实姓名**/
    private String userName;
    /**收货地址-省**/
    private String province;
    /**收货地址-市**/
    private String city;
    /**收货地址-区**/
    private String counties;
    /**收货详细地址**/
    private String address;
    /**订单状态（1申请中 2试做中 3试做完成）**/
    private Integer status;
    /***是否有效(是否有效：0.无效 1.有效',)*/
    private Integer  valid;
    /**试做订单信息**/
    private List<TryOrderInfo> tryOrderInfoList;

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getSampleId() {
        return sampleId;
    }

    public void setSampleId(Integer sampleId) {
        this.sampleId = sampleId;
    }

    public String getTryNo() {
        return tryNo == null ? "" : tryNo;
    }

    public void setTryNo(String tryNo) {
        this.tryNo = tryNo;
    }

    public Date getApplyTime() {
        return applyTime ;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Integer getSizeType() {
        return sizeType ;
    }

    public void setSizeType(Integer sizeType) {
        this.sizeType = sizeType;
    }

    public String getUserPhone() {
        return userPhone == null ? "" : userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserName() {
        return userName == null ? "" : userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProvince() {
        return province == null ? "" : province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city == null ? "" : city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounties() {
        return counties == null ? "" : counties;
    }

    public void setCounties(String counties) {
        this.counties = counties;
    }

    public String getAddress() {
        return address == null ? "" : address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<TryOrderInfo> getTryOrderInfoList() {
        return tryOrderInfoList;
    }

    public void setTryOrderInfoList(List<TryOrderInfo> tryOrderInfoList) {
        this.tryOrderInfoList = tryOrderInfoList;
    }

}